PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Liquid Ripples / LuxXx - Melt Ur Maker I.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.560 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=0.362 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=1 |
| 12 | nWaveMode=2 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=1 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=1 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=3.222 |
| 26 | fWaveScale=0.685 |
| 27 | fWaveSmoothing=0.750 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.750 |
| 30 | fModWaveAlphaEnd=0.950 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.000 |
| 33 | fZoomExponent=2.21668 |
| 34 | fShader=1.000 |
| 35 | zoom=0.99990 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00001 |
| 40 | dy=0.00001 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.500 |
| 45 | wave_g=0.500 |
| 46 | wave_b=0.500 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.050 |
| 50 | ob_r=0.500 |
| 51 | ob_g=0.500 |
| 52 | ob_b=0.500 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.025 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=5.000 |
| 64 | mv_r=0.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wavecode_1_enabled=0 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=0 |
| 93 | wavecode_1_bDrawThick=0 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=1.00000 |
| 96 | wavecode_1_smoothing=0.50000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=1.000 |
| 99 | wavecode_1_b=1.000 |
| 100 | wavecode_1_a=1.000 |
| 101 | wavecode_2_enabled=0 |
| 102 | wavecode_2_samples=512 |
| 103 | wavecode_2_sep=0 |
| 104 | wavecode_2_bSpectrum=0 |
| 105 | wavecode_2_bUseDots=0 |
| 106 | wavecode_2_bDrawThick=0 |
| 107 | wavecode_2_bAdditive=0 |
| 108 | wavecode_2_scaling=1.00000 |
| 109 | wavecode_2_smoothing=0.50000 |
| 110 | wavecode_2_r=1.000 |
| 111 | wavecode_2_g=1.000 |
| 112 | wavecode_2_b=1.000 |
| 113 | wavecode_2_a=1.000 |
| 114 | wavecode_3_enabled=0 |
| 115 | wavecode_3_samples=512 |
| 116 | wavecode_3_sep=0 |
| 117 | wavecode_3_bSpectrum=0 |
| 118 | wavecode_3_bUseDots=0 |
| 119 | wavecode_3_bDrawThick=0 |
| 120 | wavecode_3_bAdditive=0 |
| 121 | wavecode_3_scaling=1.00000 |
| 122 | wavecode_3_smoothing=0.50000 |
| 123 | wavecode_3_r=1.000 |
| 124 | wavecode_3_g=1.000 |
| 125 | wavecode_3_b=1.000 |
| 126 | wavecode_3_a=1.000 |
| 127 | shapecode_0_enabled=1 |
| 128 | shapecode_0_sides=100 |
| 129 | shapecode_0_additive=1 |
| 130 | shapecode_0_thickOutline=0 |
| 131 | shapecode_0_textured=1 |
| 132 | shapecode_0_num_inst=1 |
| 133 | shapecode_0_x=0.500 |
| 134 | shapecode_0_y=0.500 |
| 135 | shapecode_0_rad=1.79142 |
| 136 | shapecode_0_ang=0.00000 |
| 137 | shapecode_0_tex_ang=0.06283 |
| 138 | shapecode_0_tex_zoom=1.00000 |
| 139 | shapecode_0_r=1.000 |
| 140 | shapecode_0_g=1.000 |
| 141 | shapecode_0_b=1.000 |
| 142 | shapecode_0_a=0.080 |
| 143 | shapecode_0_r2=1.000 |
| 144 | shapecode_0_g2=1.000 |
| 145 | shapecode_0_b2=1.000 |
| 146 | shapecode_0_a2=0.080 |
| 147 | shapecode_0_border_r=1.000 |
| 148 | shapecode_0_border_g=1.000 |
| 149 | shapecode_0_border_b=1.000 |
| 150 | shapecode_0_border_a=0.000 |
| 151 | shape_0_per_frame1=additive = q1; |
| 152 | shape_0_per_frame2=a = if(q1,1,a); |
| 153 | shape_0_per_frame3=a2 = a; |
| 154 | shape_0_per_frame4=r = q1; |
| 155 | shape_0_per_frame5=r2 =q1; |
| 156 | shape_0_per_frame6=tex_zoom = 3 - 3*bass; |
| 157 | shapecode_1_enabled=1 |
| 158 | shapecode_1_sides=100 |
| 159 | shapecode_1_additive=1 |
| 160 | shapecode_1_thickOutline=0 |
| 161 | shapecode_1_textured=1 |
| 162 | shapecode_1_num_inst=1 |
| 163 | shapecode_1_x=0.500 |
| 164 | shapecode_1_y=0.500 |
| 165 | shapecode_1_rad=1.79142 |
| 166 | shapecode_1_ang=0.00000 |
| 167 | shapecode_1_tex_ang=0.06283 |
| 168 | shapecode_1_tex_zoom=1.00000 |
| 169 | shapecode_1_r=1.000 |
| 170 | shapecode_1_g=0.000 |
| 171 | shapecode_1_b=1.000 |
| 172 | shapecode_1_a=0.080 |
| 173 | shapecode_1_r2=1.000 |
| 174 | shapecode_1_g2=1.000 |
| 175 | shapecode_1_b2=0.000 |
| 176 | shapecode_1_a2=0.080 |
| 177 | shapecode_1_border_r=1.000 |
| 178 | shapecode_1_border_g=1.000 |
| 179 | shapecode_1_border_b=1.000 |
| 180 | shapecode_1_border_a=0.000 |
| 181 | shape_1_per_frame1=additive = q1; |
| 182 | shape_1_per_frame2=a = if(q1,1,a); |
| 183 | shape_1_per_frame3=a2 = a; |
| 184 | shape_1_per_frame4=r = q1; |
| 185 | shape_1_per_frame5=r2 =q1; |
| 186 | shape_1_per_frame6=tex_zoom = 3 - 2*bass; |
| 187 | shapecode_2_enabled=1 |
| 188 | shapecode_2_sides=100 |
| 189 | shapecode_2_additive=0 |
| 190 | shapecode_2_thickOutline=1 |
| 191 | shapecode_2_textured=1 |
| 192 | shapecode_2_num_inst=1 |
| 193 | shapecode_2_x=0.500 |
| 194 | shapecode_2_y=0.500 |
| 195 | shapecode_2_rad=0.91974 |
| 196 | shapecode_2_ang=0.00000 |
| 197 | shapecode_2_tex_ang=0.62832 |
| 198 | shapecode_2_tex_zoom=1.03030 |
| 199 | shapecode_2_r=1.000 |
| 200 | shapecode_2_g=1.000 |
| 201 | shapecode_2_b=1.000 |
| 202 | shapecode_2_a=1.000 |
| 203 | shapecode_2_r2=1.000 |
| 204 | shapecode_2_g2=1.000 |
| 205 | shapecode_2_b2=1.000 |
| 206 | shapecode_2_a2=1.000 |
| 207 | shapecode_2_border_r=0.000 |
| 208 | shapecode_2_border_g=0.000 |
| 209 | shapecode_2_border_b=0.000 |
| 210 | shapecode_2_border_a=0.000 |
| 211 | shape_2_per_frame1=tex_zoom = q1+tex_zoom; |
| 212 | shape_2_per_frame2=a2 = 1; |
| 213 | shape_2_per_frame3=border_a = q1; |
| 214 | shapecode_3_enabled=1 |
| 215 | shapecode_3_sides=100 |
| 216 | shapecode_3_additive=0 |
| 217 | shapecode_3_thickOutline=0 |
| 218 | shapecode_3_textured=0 |
| 219 | shapecode_3_num_inst=1 |
| 220 | shapecode_3_x=0.500 |
| 221 | shapecode_3_y=0.500 |
| 222 | shapecode_3_rad=0.13887 |
| 223 | shapecode_3_ang=0.00000 |
| 224 | shapecode_3_tex_ang=0.00000 |
| 225 | shapecode_3_tex_zoom=1.00000 |
| 226 | shapecode_3_r=1.000 |
| 227 | shapecode_3_g=0.000 |
| 228 | shapecode_3_b=0.000 |
| 229 | shapecode_3_a=0.050 |
| 230 | shapecode_3_r2=0.000 |
| 231 | shapecode_3_g2=1.000 |
| 232 | shapecode_3_b2=0.000 |
| 233 | shapecode_3_a2=0.050 |
| 234 | shapecode_3_border_r=1.000 |
| 235 | shapecode_3_border_g=1.000 |
| 236 | shapecode_3_border_b=1.000 |
| 237 | shapecode_3_border_a=0.000 |
| 238 | shape_3_per_frame1=r = 0.5 + 0.49*sin(time*0.2754); |
| 239 | shape_3_per_frame2=b = 0.5 + 0.49*sin(time*0.6254); |
| 240 | shape_3_per_frame3=g = 0.5 + 0.49*sin(time*0.514); |
| 241 | shape_3_per_frame4=r2 = 0.5 + 0.49*sin(time*0.475); |
| 242 | shape_3_per_frame5=b2 = 0.5 + 0.49*sin(time*0.2107); |
| 243 | shape_3_per_frame6=g2 = 0.5 + 0.49*sin(time*0.7714); |
| 244 | per_frame_1=// -------------------------------- Beat Detective 007 ---------------------------------- |
| 245 | per_frame_2=sure=if(equal(sure,0),.6,sure); |
| 246 | per_frame_3=interval=if(equal(interval,0),40,interval); |
| 247 | per_frame_4=lastbeat=if(equal(lastbeat,0),frame-FPS,lastbeat); |
| 248 | per_frame_5=dbass=(bass-pbass)/FPS; |
| 249 | per_frame_6=beat=above(dbass,.6*maxdbass)*above(frame-lastbeat,FPS/3); |
| 250 | per_frame_7=sure=if(beat*below(abs(frame-(interval+lastbeat)),FPS/5), |
| 251 | per_frame_8=min(.095+sure,1),beat*(sure-.095)+(1-beat)*sure*.9996); |
| 252 | per_frame_9=sure=max(.5,sure); |
| 253 | per_frame_10=cheat=if(above(frame,lastbeat+interval+ int(FPS/10))*above(sure,.91),1,cheat); |
| 254 | per_frame_11=beat=if(cheat,1,beat); |
| 255 | per_frame_12=sure=if(cheat,.95*sure,sure); |
| 256 | per_frame_13=maxdbass=max(maxdbass*.999,dbass); |
| 257 | per_frame_14=maxdbass=max(.012,maxdbass); |
| 258 | per_frame_15=maxdbass=min(.02,maxdbass); |
| 259 | per_frame_16=interval=if(beat, frame-lastbeat,interval); |
| 260 | per_frame_17=lastbeat=if(beat,frame-cheat*int(FPS/10),lastbeat); |
| 261 | per_frame_18=cheat=0; |
| 262 | per_frame_19=pbass=bass; |
| 263 | per_frame_20=// ---------------------------------------------------------------------------------------------- |
| 264 | per_frame_21= |
| 265 | per_frame_22=wave_r = .8*abs(cos( .07*time+.532 + sin( .125*time+.789) )); |
| 266 | per_frame_23=wave_g = .8*abs(cos( .092*time+2.1 + sin( .045*time+1.52) )); |
| 267 | per_frame_24=wave_b = .8*abs(cos( .1*time+1.452 + sin( .112*time+2.98) )); |
| 268 | per_frame_25=q1=beat; |
| 269 | per_frame_26=ib_a=beat; |
| 270 | per_frame_27=ib_r=1-wave_r;ib_g=1-wave_g;ib_b=1-wave_b; |
| 271 | per_frame_28=wave_mystery = 1-1.5*min(((frame-lastBeat)/interval),1); |
| 272 | per_frame_29=wave_a=if(above((frame-lastBeat)/interval,1),0,1); |
| 273 | per_frame_30=phase=if(equal(frame%interval,0),phase+1,phase); |
| 274 | per_frame_31=phase=if(equal(phase%18,17),0,phase); |
| 275 | per_frame_32=midphase=min((frame-lastBeat)/interval,1); |
| 276 | per_frame_33=sx=if(equal(phase,15)*equal(frame%interval,0),-1,sx); |
| 277 | per_frame_34=sy=if(equal(phase,26)*equal(frame%interval,0),-1,sy); |
| 278 | per_frame_35=phase = if(equal(frame%interval,0)*below(cos(time/6), -.5), (phase+rand(13))%14+1,phase); |
| 279 | per_frame_36=q2=phase; |
| 280 | per_frame_37=q3=midphase; |
| 281 | per_frame_38= |
| 282 | per_pixel_1=zoom =1+.01*sin(13.28*rad); |
| 283 | per_pixel_2=//zoom right |
| 284 | per_pixel_3=zoom=zoom+equal(q2,1)*q3*.1*(x-.5); |
| 285 | per_pixel_4=// zoom left |
| 286 | per_pixel_5=zoom=zoom+equal(q2,2)*q3*.1*(.5-x); |
| 287 | per_pixel_6=// zoom top |
| 288 | per_pixel_7=zoom=zoom+equal(q2,5)*q3*.1*(.5-y); |
| 289 | per_pixel_8=// zoom bottom |
| 290 | per_pixel_9=zoom=zoom+equal(q2,4)*q3*.1*(y-.5); |
| 291 | per_pixel_10=// rotate left |
| 292 | per_pixel_11=rot=rot+equal(q2,3)*q3*.3; |
| 293 | per_pixel_12=// rotate right |
| 294 | per_pixel_13=rot=rot-equal(q2,6)*q3*.3; |
| 295 | per_pixel_14=// scale x |
| 296 | per_pixel_15=sx=sx+equal(q2,7)*q3*.2; |
| 297 | per_pixel_16=// squash y |
| 298 | per_pixel_17=sy=sy-equal(q2,8)*q3*.2; |
| 299 | per_pixel_18=// squash x |
| 300 | per_pixel_19=sx=sx-equal(q2,9)*q3*.2; |
| 301 | per_pixel_20=// scale y; |
| 302 | per_pixel_21=sy=sy+equal(q2,10)*q3*.2; |
| 303 | per_pixel_22=// transpose+ vertical |
| 304 | per_pixel_23=dy=dy+equal(q2,11)*abs(.5-x)*sign(.5-x)*q3*.2; |
| 305 | per_pixel_24=// transpose+ horiz |
| 306 | per_pixel_25=dx=dx+equal(q2,12)*abs(.5-y)*sign(.5-y)*q3*.2; |
| 307 | per_pixel_26=// transpose- horiz |
| 308 | per_pixel_27=dx=dx-equal(q2,14)*abs(.5-y)*sign(.5-y)*q3*.2; |
| 309 | per_pixel_28=// transpose- vertical |
| 310 | per_pixel_29=dy=dy-equal(q2,13)*abs(.5-x)*sign(.5-x)*q3*.2; |
| 311 | warp_1=`shader_body |
| 312 | warp_2=`{ |
| 313 | warp_3=` // sample previous frame |
| 314 | warp_4=` ret.xyz = tex2D( sampler_main, uv ).xyz; |
| 315 | warp_5=` |
| 316 | warp_6=` // take the difference between the crisp and blurred images, |
| 317 | warp_7=` // then add it back into the image. Creates spots and stripes over time. |
| 318 | warp_8=` ret.xyz += (ret.xyz - GetBlur2(uv))*0.3; |
| 319 | warp_9=` ret.xyz *= 0.9; |
| 320 | warp_10=` |
| 321 | warp_11=` // add noise: |
| 322 | warp_12=` float2 dither_uv = uv_orig*texsize.xy*texsize_noise_lq.zw * 0.4 + rand_frame.xy; |
| 323 | warp_13=` ret.xyz += (tex2D(sampler_noise_lq, dither_uv).xyz-0.5)/256.0 * 122 * saturate(treb_att-1); |
| 324 | warp_14=` |
| 325 | warp_15=` // desaturate over time, to keep the globs white |
| 326 | warp_16=` ret.xyz = lerp(ret.xyz, lum(ret.xyz), 0.2); |
| 327 | warp_17=`} |
| 328 | comp_1=`float2 d, uv_y; |
| 329 | comp_2=`float3 dx, dy; |
| 330 | comp_3=`shader_body |
| 331 | comp_4=`{ |
| 332 | comp_5=` |
| 333 | comp_6=` d = texsize.zw*8; |
| 334 | comp_7=` dx = ( GetBlur1(uv+float2(1,0)*d)-GetBlur1(uv-float2(1,0)*d) ); |
| 335 | comp_8=` dy = ( GetBlur1(uv+float2(0,1)*d)-GetBlur1(uv-float2(0,1)*d) ); |
| 336 | comp_9=` |
| 337 | comp_10=`float3 base = GetPixel(uv); |
| 338 | comp_11=`float3 emboss = (-dx + dy + 1)*1.2; |
| 339 | comp_12=` |
| 340 | comp_13=` d = texsize.zw*2; |
| 341 | comp_14=` dx = ( GetBlur1(uv+float2(1,0)*d)-GetBlur1(uv-float2(1,0)*d) ); |
| 342 | comp_15=` dy = ( GetBlur1(uv+float2(0,1)*d)-GetBlur1(uv-float2(0,1)*d) ); |
| 343 | comp_16=` |
| 344 | comp_17=`float grad = length(float2(dx.x,dy.x)); |
| 345 | comp_18=` |
| 346 | comp_19=`ret = lerp( float3(0.5,0.4,0.6)*base.x*emboss.x, |
| 347 | comp_20=` float3(8,5,2)*grad, |
| 348 | comp_21=` grad*4.2 |
| 349 | comp_22=` ); |
| 350 | comp_23=`ret = lerp(ret,4*ret,GetPixel(uv).y*0.5-GetBlur1(uv).z*0.3*float3(0.3,1,1)); |
| 351 | comp_24=` |
| 352 | comp_25=`grad = length(float2(dx.z,dy.z)); |
| 353 | comp_26=`ret = lerp(ret, float3(2,2,0), grad*0.7); |
| 354 | comp_27=`} |
| 355 | comp_28=` |